package com.steak.system.service.artisan;

import com.steak.system.common.exception.BusinessException;
import com.steak.system.pojo.dataobject.CollegeDO;
import com.steak.system.pojo.dto.ApplyDTO;
import com.steak.system.pojo.dto.RecruitDTO;
import java.util.List;

public interface ArtisanService {
    void releasePlan(String title, int num, String start, String end, int department, String requirements,String userId);

    List<CollegeDO> getAllDepartment();

    List<RecruitDTO> getAllRecruit(int page) throws BusinessException;

    RecruitDTO getRecruitInfoById(int recruitId);

    void checkOK(int recruitId, String title, int num, String start, String end, String requirements);

    void checkNO(int recruitId);

    List<RecruitDTO> getReleaseRecruitByUserId(String userId);

    List<ApplyDTO> getApplyStudentByRecruitId(String userId) throws BusinessException;

    List<ApplyDTO> alreadyCheckStudentList(String userId);
}
